package com.renke.enml;

/**
 * @author Robson Enke
 * 
 */
public class Negation extends Term {

	private final boolean negate;

	Negation(boolean negate, Expression expression) {
		super((negate ? "!" : "") + expression.getValue(), expression);
		this.negate = negate;
	}

	public boolean isNegate() {
		return negate;
	}
}
